package com.app.lcl.entities;

public class Address {
	
	private Integer id;
	private Integer code;/*邮政编码*/
	private String areaName;/*地名*/
	private Woman woman;
	
	public Woman getWoman() {
		return woman;
	}

	public void setWoman(Woman woman) {
		this.woman = woman;
	}

	public Address() {}

	public Address(Integer code, String areaName) {//不要id
		super();
		this.code = code;
		this.areaName = areaName;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "Address [id=" + id + ", code=" + code + ", areaName="
				+ areaName + "]";
	}

	
	
	
}
